home *** CD-ROM | disk | FTP | other *** search
/ Super League / Super League.iso / TUTORIAL / CURSO / WHERE.DXR / 00033.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  544 b   |  28 lines

  1. on enterFrame
  2.   global var1, var2
  3.   if chars(var2, 6, 7) = "9." then
  4.     if var1 <= 17 then
  5.       set the visible of sprite 26 to 1
  6.     end if
  7.     if var1 > 17 then
  8.       set the visible of sprite 27 to 1
  9.     end if
  10.   end if
  11.   if chars(var2, 6, 7) = "10" then
  12.     if var1 <= 27 then
  13.       set the visible of sprite 28 to 1
  14.     end if
  15.     if var1 > 27 then
  16.       set the visible of sprite 29 to 1
  17.     end if
  18.   end if
  19.   if chars(var2, 6, 7) = "11" then
  20.     set the visible of sprite 29 to 1
  21.   end if
  22. end
  23.  
  24. on exitFrame
  25.   general()
  26.   go(#loop)
  27. end
  28.